<template>
	<view class="banner block">
		<view class="swiperBox" :style="{ backgroundImage: `url(${banner_image})`}">
			<!-- <swiper class="swiper" :autoplay="autoplay" :interval="interval">
					<swiper-item>
						<view class="swiper-item uni-bg-red">A</view>
					</swiper-item>
					<swiper-item>
						<view class="swiper-item uni-bg-green">B</view>
					</swiper-item>
					<swiper-item>
						<view class="swiper-item uni-bg-blue">C</view>
					</swiper-item>
			</swiper> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dec:''
			}
		},
		created() {
			// this.getdec();
		},
		props:['banner_image'],
		methods: {
          
		}
	}
</script>

<style>
   .banner {
	   padding: 0 35rpx;
   }
</style>
